part of 'fragment.dart';

abstract class _PurchaseManagementFragmentWlocState {}

class _InitialPurchaseManagementFragmentWlocState extends Equatable
    implements _PurchaseManagementFragmentWlocState {
  const _InitialPurchaseManagementFragmentWlocState();

  @override
  List<Object> get props => [];
}

class _LoadingPurchaseManagementFragmentWlocState extends Equatable
    implements _PurchaseManagementFragmentWlocState {
  const _LoadingPurchaseManagementFragmentWlocState();

  @override
  List<Object> get props => [];
}

class _LoadedPurchaseManagementFragmentWlocState extends Equatable
    implements _PurchaseManagementFragmentWlocState {
  const _LoadedPurchaseManagementFragmentWlocState({
    required this.activePurchasedItemModels,
    required this.pausedGooglePlayPurchasedSubscriptionModels,
    required this.expiredPurchasedSubscriptionModels,
  });

  final BuiltList<PurchasedItemModel> activePurchasedItemModels;
  final BuiltList<GooglePlayPurchasedSubscriptionModel> pausedGooglePlayPurchasedSubscriptionModels;
  final BuiltList<PurchasedSubscriptionModel> expiredPurchasedSubscriptionModels;

  @override
  List<Object?> get props {
    return [
      activePurchasedItemModels,
      pausedGooglePlayPurchasedSubscriptionModels,
      expiredPurchasedSubscriptionModels,
    ];
  }
}
